package org.mii.safeguard_v1.security.service;

import org.mii.safeguard_v1.base.service.EntityManager;
import org.mii.safeguard_v1.security.dao.AuthorityDao;
import org.mii.safeguard_v1.security.entity.Authority;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 授权管理类.
 * 
 * @author calvin
 */
@Service
@Transactional
public class AuthorityManager extends EntityManager<Authority, Integer> {
	@Autowired
	private AuthorityDao authorityDao;

	@Override
	protected AuthorityDao getEntityDao() {
		return authorityDao;
	}
}
